age =12
if age>50:
    print("老年人")
elif age>=30:
    print("中年人")
elif age>=20:
    print("年轻人")
elif age>=10:
    print("小朋友")
elif age>0:
    print("小孩")
else:
    print("输入有误")